home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / info / external-widget.info < prev    next >
Encoding:
GNU Info File  |  1995-09-01  |  5.8 KB  |  133 lines

  1. This is Info file ../info/external-widget.info, produced by
  2. Makeinfo-1.55 from the input file external-widget.texinfo.
  3.  
  4. 
  5. File: external-widget.info,  Node: Top,  Next: Using an External Client Widget,  Up: (dir)
  6.  
  7.    An "external client widget" is a widget that is part of another
  8. program but functions as an Emacs frame.  This is intended to be a more
  9. powerful replacement for standard text widgets.
  10.  
  11. * Menu:
  12.  
  13. * Using an External Client Widget::
  14. * External Client Widget Resource Settings::
  15. * Motif-Specific Info About the External Client Widget::
  16.  
  17. 
  18. File: external-widget.info,  Node: Using an External Client Widget,  Next: External Client Widget Resource Settings,  Prev: Top,  Up: Top
  19.  
  20. Using an External Client Widget
  21. *******************************
  22.  
  23.    There are three different implementations of the external client
  24. widget.  One is designed for use in Motif applications and is linked
  25. with the option `-lextcli_Xm'.  Another is designed for non-Motif
  26. applications that still use the X toolkit; it is linked with the option
  27. `-lextcli_Xt'.  The third is designed for applications that do not use
  28. the X toolkit; it is linked with the option `-lextcli_Xlib'.  In order
  29. to use an external client widget in a client program that uses the X
  30. toolkit (i.e. either of the first two options described above), simply
  31. create an instance of widget type ExternalClient and link your program
  32. with the appropriate library.  The corresponding header file is called
  33. `ExternalClient.h'.
  34.  
  35.    Documentation still needs to be provided for using the raw Xlib
  36. version of the external client widget.
  37.  
  38.    The external client widget will not do anything until an instance of
  39. Emacs is told about this particular widget.  To do that, call the
  40. function `make-frame', specifying a value for the frame parameter
  41. `window-id'.  This value should be a string containing the decimal
  42. representation of the widget's X window ID number (this can be obtained
  43. by the Xt function `XtWindow()').  In order for the client program to
  44. communicate this information to Emacs, a method such as sending a
  45. ToolTalk message needs to be used.
  46.  
  47.    Once `make-frame' has been called, Emacs will create a frame that
  48. occupies the client widget's window.  This frame can be used just like
  49. any other frame in Emacs.
  50.  
  51. 
  52. File: external-widget.info,  Node: External Client Widget Resource Settings,  Next: Motif-Specific Info About the External Client Widget,  Prev: Using an External Client Widget,  Up: Top
  53.  
  54. External Client Widget Resource Settings
  55. ****************************************
  56.  
  57.    The external client widget is a subclass of the Motif widget
  58. XmPrimitive and thus inherits all its resources.  In addition, the
  59. following new resources are defined:
  60.  
  61. `deadShell (class DeadShell)'
  62.      A boolean resource indicating whether the last request to the
  63.      ExternalShell widget that contains the frame corresponding to this
  64.      widget timed out.  If true, no further requests will be made (all
  65.      requests will automatically fail) until a response to the last
  66.      request is received.  This resource should normally not be set by
  67.      the user.
  68.  
  69. `shellTimeout (class ShellTimeout)'
  70.      A value specifying how long (in milliseconds) the client should
  71.      wait for a response when making a request to the corresponding
  72.      ExternalShell widget.  If this timeout is exceeded, the client
  73.      will assume that the shell is dead and will fail the request and
  74.      all subsequent requests until a response to the request is
  75.      received.  Default value is 5000, or 5 seconds.
  76.  
  77.    The shell that contains the frame corresponding to an external client
  78. widget is of type ExternalShell, as opposed to standard frames, whose
  79. shell is of type TopLevelShell.  The ExternalShell widget is a direct
  80. subclass of Shell and thus inherits its resources.  In addition, the
  81. following new resources are defined:
  82.  
  83. `window (class Window)'
  84.      The X window ID of the widget to use for this Emacs frame.  This is
  85.      normally set by the call to `x-create-frame' and should not be
  86.      modified by the user.
  87.  
  88. `deadClient (class DeadClient)'
  89.      A boolean resource indicating whether the last request to the
  90.      corresponding ExternalClient widget timed out.  If true, no further
  91.      requests will be made (all requests will automatically fail) until
  92.      a response to the last request is received.  This resource should
  93.      normally not be set by the user.
  94.  
  95. `ClientTimeout (class ClientTimeout)'
  96.      A value specifying how long (in milliseconds) the shell should wait
  97.      for a response when making a request to the corresponding
  98.      ExternalClient widget.  If this timeout is exceeded, the shell
  99.      will assume that the client is dead and will fail the request and
  100.      all subsequent requests until a response to the request is
  101.      received.  Default value is 5000, or 5 seconds.
  102.  
  103.    Note that the requests that are made between the client and the shell
  104. are primarily for handling query-geometry and geometry-manager requests
  105. made by parent or child widgets.
  106.  
  107. 
  108. File: external-widget.info,  Node: Motif-Specific Info About the External Client Widget,  Prev: External Client Widget Resource Settings,  Up: Top
  109.  
  110. Motif-Specific Info About the External Client Widget
  111. ****************************************************
  112.  
  113.    By default, the external client widget has navigation type
  114. `XmTAB_GROUP'.
  115.  
  116.    The widget traversal keystrokes are modified slightly from the
  117. standard XmPrimitive keystrokes.  In particular, `TAB' alone does not
  118. traverse to the next widget (`Ctrl-TAB' must be used instead), but
  119. functions like a normal TAB in Emacs.  This follows the semantics of
  120. the Motif text widget.  The traversal keystrokes `Ctrl-TAB' and
  121. `Shift-TAB' are silently filtered by the external client widget and are
  122. not seen by Emacs.
  123.  
  124.  
  125. 
  126. Tag Table:
  127. Node: Top120
  128. Node: Using an External Client Widget550
  129. Node: External Client Widget Resource Settings2265
  130. Node: Motif-Specific Info About the External Client Widget5008
  131. 
  132. End Tag Table
  133.